using Itdavany.Data;
using Itdavany.Data.XmlFormat;
using RollingKitty.Objects;


namespace RollingKitty.Objects.Converters
{
    // The name says what it is for. but It doesn't have any special implementation yet.
    public class ButtonConverter : DefaultConverter
    {
        public override ObjectType Type
        {
            get
            {
                return ObjectType.Button;
            }
        }

        public override object Convert(ObjectDescriptor objDesc, Itdavany.Utility.ObjectDescriber objDescriber)
        {
            return new Button((FrameArray)base.Convert(objDesc, objDescriber));
        }
    }
}